package com.itheima.d6_abstractdemo3;

public class Test {
    public static void main(String[] args) {
        People p1 = new Teacher();
        p1.write();
        System.out.println("========================");
        People p2 = new Student();
        p2.write();
    }
}
